<!DOCTYPE html>
<html>
<head>
<title><< Web share file system >></title>
<!-- ============================================================================= -->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="expires" content="1970-01-01"/>
<script src="http://code.jquery.com/jquery-1.7.js"></script>
<script language="javascript" type="text/javascript" src="/functions.js"></script> 

<!-- ==JAVA SCRIPT=============================================================== -->
<script language="javascript">

	var cell,_cell;// = test.split("|");
	var mode = 0;  //현재 모드 값을 저장해
	var request = new XMLHttpRequest();  //응답을 받아와야졍
	var reData;
	var check = 0;	//파일 리스트가 한 번만 출력되게 하기 위한 flag
	var url = '/files/';
	
	function createRow(){
	
		if(check == 0){
	
		AJAX_get('command=test');
		
		reData = stateCallback();
		
			//if(reData == undefined)
			 //alert("공유된 데이터 리스트를 출력합니다.");
			
			cell = reRcData.split("|");
			
			for(var a = 0; ; a++){
			  
			    if(cell[a] == undefined) break;
			    
			var temp = "<tr onmouseover=changeTbl.clickedRowIndex=this.rowIndex><td><a href=\'" + url + cell[a] + "\'>" + cell[a] + "</a</td></tr>";
		
			$("#table1").after(temp);
			} 
	
		}
	    
	check = 1;

	}

</script>

<!-- ==HTML SOURCE=============================================================== -->

<base target="_self"></head>

<body bgcolor="#E4E4E4" text="black" link="blue" vlink="purple" alink="red">

<p align="center"><a href="download.htm" target="_self">페이지 정리</a><br>
</p>
<table id="table1" align="center">
  <tr>
    <td></td>
  </tr>
</table>
<p align="center">
<input id="tt" type="button" value="파일 리스트 출력 - 더블 클릭" onclick="createRow()" /> </p>

<br>
<p align="center"><b><span style="font-size:36pt;">오른쪽 버튼 클릭 해서</span></b></p>
<p align="center"><b><span style="font-size:36pt;">다른 이름으로 저장하시오</span></b></p>

</body>

</html>